<!DOCTYPE html>
<html>
<head>
    <title>密码更新</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <link href="static/resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="static/data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="static/files/密码更新/styles.css" type="text/css" rel="stylesheet"/>
    <script src="static/resources/scripts/jquery-3.2.1.min.js"></script>
    <script src="static/resources/scripts/axure/axQuery.js"></script>
    <script src="static/resources/scripts/axure/globals.js"></script>
    <script src="static/resources/scripts/axutils.js"></script>
    <script src="static/resources/scripts/axure/annotation.js"></script>
    <script src="static/resources/scripts/axure/axQuery.std.js"></script>
    <script src="static/resources/scripts/axure/doc.js"></script>
    <script src="static/resources/scripts/messagecenter.js"></script>
    <script src="static/resources/scripts/axure/events.js"></script>
    <script src="static/resources/scripts/axure/recording.js"></script>
    <script src="static/resources/scripts/axure/action.js"></script>
    <script src="static/resources/scripts/axure/expr.js"></script>
    <script src="static/resources/scripts/axure/geometry.js"></script>
    <script src="static/resources/scripts/axure/flyout.js"></script>
    <script src="static/resources/scripts/axure/model.js"></script>
    <script src="static/resources/scripts/axure/repeater.js"></script>
    <script src="static/resources/scripts/axure/sto.js"></script>
    <script src="static/resources/scripts/axure/utils.temp.js"></script>
    <script src="static/resources/scripts/axure/variables.js"></script>
    <script src="static/resources/scripts/axure/drag.js"></script>
    <script src="static/resources/scripts/axure/move.js"></script>
    <script src="static/resources/scripts/axure/visibility.js"></script>
    <script src="static/resources/scripts/axure/style.js"></script>
    <script src="static/resources/scripts/axure/adaptive.js"></script>
    <script src="static/resources/scripts/axure/tree.js"></script>
    <script src="static/resources/scripts/axure/init.temp.js"></script>
    <script src="static/resources/scripts/axure/legacy.js"></script>
    <script src="static/resources/scripts/axure/viewer.js"></script>
    <script src="static/resources/scripts/axure/math.js"></script>
    <script src="static/resources/scripts/axure/jquery.nicescroll.min.js"></script>
    <script src="static/data/document.js"></script>
    <script src="static/files/密码更新/data.js"></script>
    <script type="text/javascript">
        $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
        $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
        $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
</head>
<body>
<div id="base" class="">

    <!-- Unnamed (组 合) -->
    <div id="u97" class="ax_default" data-left="0" data-top="0" data-width="1920" data-height="1080">

        <!-- Unnamed (图片) -->
        <div id="u98" class="ax_default _图片">
            <img id="u98_img" class="img " src="static/images/00登录页面/u1.jpg"/>
            <div id="u98_text" class="text " style="display:none; visibility: hidden">
                <p></p>
            </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u99" class="ax_default box_1">
            <div id="u99_div" class=""></div>
            <div id="u99_text" class="text " style="display:none; visibility: hidden">
                <p></p>
            </div>
        </div>
    </div>

    <!-- Unnamed (组 合) -->
    <div id="u100" class="ax_default" data-left="79" data-top="92" data-width="1762" data-height="897">

        <!-- Unnamed (矩形) -->
        <div id="u101" class="ax_default box_1">
            <img id="u101_img" class="img " src="static/images/00登录页面/u4.svg"/>
            <div id="u101_text" class="text " style="display:none; visibility: hidden">
                <p></p>
            </div>
        </div>

        <!-- Unnamed (图片) -->
        <div id="u102" class="ax_default _图片">
            <img id="u102_img" class="img " src="static/images/00登录页面/u10.png"/>
            <div id="u102_text" class="text " style="display:none; visibility: hidden">
                <p></p>
            </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u103" class="ax_default _一级标题">
            <div id="u103_div" class=""></div>
            <div id="u103_text" class="text ">
                <p><span style="text-decoration:none;">医疗数据跨队列管理平台</span></p>
            </div>
        </div>

        <!-- Unnamed (图片) -->
        <div id="u104" class="ax_default _图片">
            <img id="u104_img" class="img " src="static/images/00登录页面/u14.png"/>
            <div id="u104_text" class="text " style="display:none; visibility: hidden">
                <p></p>
            </div>
        </div>
    </div>
    <form id="fm1" action="/changepassword" method="post" autocomplete="off">
    <!-- 1修改密码 (组 合) -->
    <div id="u105" class="ax_default" data-label="1修改密码" data-left="762" data-top="433" data-width="950" data-height="297">

        <!-- 更新密码 (文本框) -->
        <div id="u106" class="ax_default text_field" data-label="更新密码" title="请输入新密码">
            <div id="u106_div" class=""></div>
            <input id="u106_input" type="password" name="firstPwd" value="" class="u106_input" title="请输入新密码" maxlength="30"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u107" class="ax_default label">
            <div id="u107_div" class=""></div>
            <div id="u107_text" class="text ">
                <p><span style="text-decoration:none;">更新密码:</span></p>
            </div>
        </div>

        <!-- 真实姓名-注册 (矩形) -->
        <div id="u108" class="ax_default label" data-label="真实姓名-注册">
            <div id="u108_div" class=""></div>
            <div id="u108_text" class="text ">
                <p><span style="text-decoration:none;">确认密码:</span></p>
            </div>
        </div>

        <!-- 确认密码 (文本框) -->
        <div id="u109" class="ax_default text_field" data-label="确认密码" title="请再次输入新密码">
            <div id="u109_div" class=""></div>
            <input id="u109_input" type="password" name="secondPwd" value="" class="u109_input" title="请再次输入新密码" maxlength="30"/>
        </div>

        <input id="YourloginResult" name="YourloginResult" type="hidden" value="{{.Flag}}">

    </div>

    <!-- Unnamed (矩形) -->
    <div id="u110" class="ax_default primary_button">
        <button type="submit" class="u110_div" style="color:white" id="submit">密码更新</button>
        <style type="text/css">
            .u110_div {
                border-width:0px;
                position:absolute;
                left:0px;
                top:0px;
                width:417px;
                height:103px;
                background:inherit;
                background-color:rgba(22, 155, 213, 1);
                border:none;
                border-radius:30px;
                -moz-box-shadow:none;
                -webkit-box-shadow:none;
                box-shadow:none;
                font-family:'方正楷体简体';
                font-weight:400;
                font-style:normal;
                font-size:36px;
            }
        </style>
    </div>
    </form>
    <!-- Unnamed (图片) -->
    <div id="u111" class="ax_default _图片">
        <img id="u111_img" class="img " src="static/images/密码更新/u111.png"/>
        <div id="u111_text" class="text " style="display:none; visibility: hidden">
            <p></p>
        </div>
    </div>

    <!-- Unnamed (图片) -->
    <div id="u112" class="ax_default _图片">
        <img id="u112_img" class="img " src="static/images/密码更新/u112.svg"/>
        <div id="u112_text" class="text " style="display:none; visibility: hidden">
            <p></p>
        </div>
    </div>
</div>
<script src="static/resources/scripts/axure/ios.js"></script>
<script>
    $(function(){
        var firstPwd="",secondPwd=""

        $("#submit").on('click', function () {
            firstPwd = document.getElementById("u106_input").value;
            secondPwd = document.getElementById("u109_input").value;
            var Result = document.getElementById("YourloginResult").value;
            if (firstPwd=="6-30位密码"){
                alert("请输入您的密码")
            } else if (firstPwd!=secondPwd){
                alert("两次密码不一致")
            } else if (firstPwd.length<6 || firstPwd.length>30){
                alert("更改失败! 密码长度错误")
            } else {
                alert("更改成功!")
            }
        });
    })

</script>
</body>
</html>
